package com.moxiao.yfjh.module.maker.controller.admin.memberStringing.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.moxiao.yfjh.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 相亲红娘会员用户牵线总次数 Request VO，参数和 MatchmakerMemberStringingPageReqVO 是一致的")
@Data
public class MatchmakerMemberStringingQueryVO {

    @Schema(description = "编码")
    private String no;

    @Schema(description = "红娘id", example = "11898")
    private Long matchmakerId;

    @Schema(description = "会员id", example = "8332")
    private Long memberId;

    @Schema(description = "用户昵称", example = "王五")
    private String memberName;

    @Schema(description = "会员当前的总牵线次数：会员购买红娘服务的牵线总次数，每次购买红娘商品后，此次数叠加")
    private Integer stringingNum;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
